package dbexp.model;

import dbexp.model.db.DbOT;

public class ObjectPrivilege extends DbObject {

	/**
	 *
	 */
	private static final long serialVersionUID = 1L;
	public static final String LABEL = "Obiektowe";

	public ObjectPrivilege() {
		super(LABEL, DbOT.OBJECT_PRIVILEGES);
		setIcons("db-grant-icon");
	}

	public ObjectPrivilege(String obPrivilegeName) {
		super(obPrivilegeName, DbOT.OBJECT_PRIVILEGE);
		set("leaf", true);
	}

	public String getQuery(int operation) {
		return oneFromDual();
	}
}
